//
//  BaseController.h
//  OCProject
//
//  Created by 王明钦 on 2018/2/9.
//  Copyright © 2018年 oc. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseController : UIViewController

-(void)showError:(NSString *)error;

-(void)showLoading:(NSString *)status;

-(void)showSuccess:(NSString *)status;
//设置title文字
-(void)setMainTitle:(NSString *)title;
//设置subTitle文字
-(void)setSubTitle:(NSString *)subTitle;
//设置右边监听事件
-(void)rightAction;
//设置左边监听事件
-(void)backAction;

//是否需要头部
-(BOOL)isNeedHeader;

@end
